package sg.edu.nus.iss.phoenix.authenticate.delegate;

import java.util.List;

import sg.edu.nus.iss.phoenix.authenticate.entity.Role;
import sg.edu.nus.iss.phoenix.authenticate.service.RoleService;

/* @author Pum Khat Doe (A0092694R)
* @version 1.0 2012/9/20
*/ 
public class RoleDelegate {
	private RoleService service;

	public RoleDelegate() {
		super();
		service = new RoleService();
	}
/**
	 * findAll -method. 
	 * This will call the RoleService.findAllRoles methods .
	 * @return Role list	  
	 */
	public List<Role> findAll() {
		return service.findAllRoles();		
	}
	
}
